package br.com.pucrs.tcc.rn;

import java.util.List;

import javax.ejb.Remote;
import javax.faces.el.EvaluationException;

import org.w3c.dom.events.EventException;

import br.com.pucrs.tcc.ed.Evento;
import br.com.pucrs.tcc.exception.EventoException;

@Remote
public interface EventoRN {
	
	public List<Evento> listarEventos(String matricula);
	
	public List<Evento> listarEventos(String matricula, boolean bPrivados, boolean bPublico);

	public void cancelaEvento(int id) throws EventoException;

	public Evento obter(Integer id);

	public Evento salva(Evento evento) throws EventoException;


}
